home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _3C516A158A4B4A0787646DDD33BE373B < prev    next >
Encoding:
Text File  |  2004-03-15  |  1017 b   |  55 lines

  1.  
  2. shader()
  3. {// >=gf3
  4.     Shaderquality(3)
  5.  
  6.     sortweight("preopaque")
  7.     cull("none")
  8.  
  9.     pass()
  10.     {
  11.         Pixelshader("Horizon.psh")
  12.         tmu()
  13.         {
  14.             texture()
  15.             {
  16.                 Image(%horizontexture)
  17.                 addressfunc("clamp", "clamp", "clamp")
  18.                 Quality("high")
  19.                 filtering("no_filtering")
  20.             }
  21.         }
  22.         !include("__Clouds.mtt")
  23.  
  24.         depthfunc("lequal", 0)
  25.     }
  26.  
  27. }
  28.  
  29. shader()
  30. {
  31.     sortweight("preopaque")
  32.     cull("none")
  33.  
  34.     pass()
  35.     {
  36.         tmu()
  37.         {
  38.             texture()
  39.             {
  40.                 Image(%horizontexture)
  41.                 addressfunc("clamp", "clamp", "clamp")
  42.                 Quality("high")
  43.                 filtering("no_filtering")
  44.             }
  45.             ColorOp("mul", "texture", "tfactor", "current")
  46.         }
  47.         Tfactor(%daycolor_r, %daycolor_g, %daycolor_b, %ambient_r)
  48.         depthfunc("lequal", 0)
  49.     }
  50.  
  51. }
  52.  
  53.  
  54.  
  55.